package com.xidian.zhiancloud.configuration;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @Author: Summerless
 * @Date: 2021/5/14 22:08
 */
@Data
@PropertySource(value = {"classpath:config/monitor.properties"}, encoding = "utf-8")
@ConfigurationProperties(prefix = "monitor")
@Component
public class MonitorConfig {
    private String appKey;
    private String appID;
    private String MQTTaddr;
    private String MQTTport;
    private String MQTTSSLport;
}
